package nc.ui.arap.view;

import nc.ui.arap.model.BatchTabelModel;
import nc.ui.pub.ButtonObject;
import nc.ui.pub.bill.BillListPanel;

public interface ViewContext<T> {

	public ButtonObject getButtonObject(String code);

	public void setViewState(ViewState<T> state);

	BatchTabelModel<T> getBatchTabelModel();

	BillListPanel getListPanel();

	void synchronizeMode();

	void synchronizeModel(int row);

	public boolean lockUI();

	public boolean releaseUI();
	
	public void showErrorMessage(String err);

}
